<template>
  <div>
    <div class="title">周末去哪儿</div>
    <ul class="wee-list">
      <li v-for="item in list" :key="item.id" class="item border-bottom">
        <img :src="item.imgUrl" alt="" />
        <div class="item-info">
          <p class="item-title">{{ item.title }}</p>
          <p class="item-desc">{{ item.desc }}</p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'WeekendHome',
  props: ['list'],
  data() {
    return {}
  },

  mounted() {},

  methods: {}
}
</script>

<style lang="less" scoped>
.title {
  margin-top: 0.2rem;
  line-height: 0.8rem;
  background: #eee;
  text-indent: 0.2rem;
}
img {
  width: 100%;
}
.item-info {
  padding: 0.1rem;

  .item-title {
    line-height: 0.64rem;
    font-size: 0.43rem;
  }

  .item-desc {
    line-height: 0.4rem;
    color: #ccc;
  }
}
</style>
